package com.example.constant;

/**
 * @Description: 常量
 * @Author: mingtian
 * @CreateDate: 2021/1/21 15:38
 * @Version: 1.0
 */
public interface CommentConstant {

    /**
     * 订单交换机
     */
    String ORDER_EXCHANGE_NAME = "order_exchange";

    /**
     * 订单队列名称
     */
    String ORDER_QUEUE_NAME = "order_queue";

    /**
     * 订单路由键
     */
    String ORDER_ROUTING_KEY = "order_key";


    /**
     * 死信交换机
     */
    String DLX_EXCHANGE_NAME = "dlx_exchange";

    /**
     * 死信队列名称
     */
    String DLX_QUEUE = "dlx_queue";

    /**
     * 死信路由键
     */
    String DLX_ROUTING_KEY = "dlx_key";


    /**
     * 延时队列交换机
     */
    String DELAY_EXCHANGE_NAME = "delay_exchange";

    /**
     * 延时队列名称
     */
    String DELAY_QUEUE = "delay_queue";

    /**
     * 延时路由键
     */
    String DELAY_ROUTING_KEY = "delay_key";
}